<script type="text/javascript" src="<?php echo URLPRE;?>static/public/Lib/Kalendajs/build/kalendae.standalone.js"></script>
<link href="<?php echo URLPRE;?>static/public/Lib/Kalendajs/build/kalendae.css" rel="stylesheet" />
<script type="text/javascript" src="<?php echo URLPRE;?>static/public/Lib/validate/messages_cn.js"></script>
<form class="formvalidate" action="<?php echo $form_url;?>" method="post">
    <style type="text/css" media="screen">
        .kalendae .k-days span.closed {
            background:red;
        }
        .divScroll{
            OVERFLOW:auto;
            scrollbar-face-color: #FFFFFF;
            scrollbar-shadow-color: #D2E5F4;
            scrollbar-highlight-color: #D2E5F4;
            scrollbar-3dlight-color: #FFFFFF;
            scrollbar-darkshadow-color: #FFFFFF;
            scrollbar-track-color: #FFFFFF;
            scrollbar-arrow-color: #D2E5F4;
        }
    </style>
    <script type="text/javascript">
        var div_height = $('.aui_state_focus').height();
        var height = window.innerHeight;
        if(div_height>=height){
            height = height-190;
            $("#div_table").css("height",height+"px");
        }
    </script>
    <div class="wrap">
        <div class="table_full divScroll" id="div_table" style="width: 100%;">
            <table width="100%">
                <col class="th" />
                <col/>
                <tbody>
                 <tr>
                    <th>日期</th>
                    <td colspan="6"><input type="text" class="input rounded" name="Form[go_date]" id="Kalendae" size="30" readonly="readonly" validate="{required:true}" />
</td>
                </tr>

                <tr>
                    <th>价格名称</th>
                    <td colspan="6"><input type="text" name="Form[price_name]"  class="input rounded" size="10" validate="{required:true}" />(如浪漫双人房)</td>
                </tr>

                <tr>
                    <th>服务类型</th>

                    <td>
                        <select name="Form[room_type]" class="select rounded" style="font-family: 'Courier New', Courier, monospace;width:97px;">
                            <option value="1">普通标间</option>
                            <option value="2">普通单间</option>
                            <option value="3">豪华标间</option>
                            <option value="4">豪华单间</option>
                            <option value="5">豪华套房</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <th>早餐</th>
                    <td colspan="6">
                        <input type="radio" name="Form[breakfast]" class="input rounded" value="1"  checked/>有
                        <input type="radio" name="Form[breakfast]" class="input rounded" value="-1" checked/>无
                    </td>
                </tr>
                <tr>
                    <th>宽带</th>
                    <td colspan="6">
                        <input type="radio" name="Form[network]" class="input rounded" value="1"/>有
                        <input type="radio" name="Form[network]" class="input rounded" value="-1" />无
                    </td>
                </tr>
                <tr>
                    <th>挂牌价</th>
                    <td colspan="6"><input type="text" name="Form[ms_price]" class="input rounded" size="10" validate="{required:true}" /></td>
                </tr>
                <tr>
                    <th>会员价</th>
                    <td colspan="6"><input type="text" name="Form[ws_price]" class="input rounded" size="10" validate="{required:true}" /></td>
                </tr>

                <tr>
                    <th>备注</th>
                    <td colspan="6"><input type="text" name="Form[remark]" class="input rounded" size="10"/></td>
                </tr>
                </tbody>
            </table>
            <div class="btn_wrap_pd">
                <input type="hidden" name="Form[hotel_id]" value="<?php echo $hotel_id;?>" />
            </div>
        </div>
    </div>
    <div class="aui_buttons">
        <button class="aui_state_highlight" type="submit">确定</button>
    </div>
</form>

<script type="text/javascript">
       var kal_dae = new Kalendae.Input('Kalendae', {
           months:1,
           format:'YYYY-MM-DD'
       });


</script>
